package zhu.areas.match.data;

import java.util.HashSet;
import java.util.Set;

/**
 * @hibernate.class  table="D_MatchType"   dynamic-insert="true"  dynamic-update="true" lazy="false"
 * @author Administrator
 *
 */
public class MatchType implements java.io.Serializable{

	private int typeID;
	private String type;
	
	private Set compAppSet=new HashSet(0);
	
	public MatchType(){
		
	}
	public MatchType(int typeID){
		this.typeID=typeID;
	}
	/**
	 * @hibernate.id column="TypeID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */	
	public int getTypeID() {
		return typeID;
	}
	
	public void setTypeID(int typeID) {
		this.typeID = typeID;
	}
	/**
	 * @hibernate.property column = "Type"
	 * @return
	 */
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @hibernate.set table="T_CompApp" inverse="true"	lazy="true"
	 * @hibernate.collection-key column="Ptype"
	 * @hibernate.collection-one-to-many class="zhu.areas.match.data.CompApp"
	 */
	public Set getCompAppSet() {
		return compAppSet;
	}
	public void setCompAppSet(Set compAppSet) {
		this.compAppSet = compAppSet;
	}
	
}
